package com.group4.rbac.mapper;

import com.group4.rbac.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * 用户表 Mapper 接口
 * </p>
 *
 * @author cloud
 * @since 2022-03-10
 */
public interface UserMapper extends BaseMapper<User> {
    /**
     * 根据用户名查找用户
     * @return
     */
    @Select("select * from rbac_user")
    List<User> selectAll();


}
